﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
namespace 李晓霞web
{
    public partial class Monther : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            string name;
            name = Session["UserName"].ToString();
            this.lblShowName.Text = "当前使用账户:" + name + "同学";

        }

        protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
        {
           
        }

        protected void Timer1_Tick(object sender, EventArgs e)
        {
            if (ddlLogin.SelectedValue == "退出系统")
            {
                this.Dispose();
            }
        }

        //protected void Timer2_Tick(object sender, EventArgs e)
        //{
        //    this.lblShowtime.Text = System.DateTime.Now.ToString();
        //}

        protected void Timer1_Tick1(object sender, EventArgs e)
        {
            this.lblShowtime.Text = System.DateTime.Now.ToString();
        }
    }
}